package com.wzw.springboot.principle.use.security.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Wangzhiwen
 */
@Data
@Accessors(chain = true)
public class BaseEntity implements Serializable {

    @Column(updatable = false, name = "CREATE_TIME")
    protected LocalDateTime createTime;

    @Column(name = "UPDATE_TIME")
    protected LocalDateTime updateTime;

}
